package cn.yto.wdgj.wdgjgptdigitaltool.mapper.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "gpt_tag_maintenance")
public class GptTagMaintenance {
    @Id
    @Column(name = "ID")
    private Long id; // 使用Long类型以支持自增ID
    @Column(name = "意图名称")
    private String intentName;
    @Column(name = "tag")
    private String tag;
    @Column(name = "匹配方式")
    private String matcherMode; // regular：正则匹配；blur：模糊匹配
    @Column(name = "匹配内容")
    private String matcherContent; // 使用String类型代替text类型
    @Column(name = "创建时间")
    private Date createTime;
    @Column(name = "更新时间")
    private Date updateTime;


    public enum MatcherMode {
        REGULAR,
        BLUR
    }
}
